From d47fabf7688da601d5a766a30275f3a6fe38ba1d Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Thu, 8 May 2025 15:21:50 -0600 Subject: [PATCH] [PATCH] SearchField fix RTL search icon positioning We're overriding the value of LayoutMirroring.enabled unnecessarily and incorrectly, causing the icon to always appear on the left regardless of RTL. Just let it cascade to this component normally. BUG: 503012 FIXED-IN: 6.15 Gbp-Pq: Name upstream_d803ca35_SearchField-fix-RTL-search-icon-positioning.patch --- src/controls/SearchField.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controls/SearchField.qml b/src/controls/SearchField.qml index bccebd5..e4dc3ef 100644 --- a/src/controls/SearchField.qml +++ b/src/controls/SearchField.qml @@ -71,7 +71,6 @@ Kirigami.ActionTextField { Kirigami.Icon { id: searchIcon - LayoutMirroring.enabled: root.effectiveHorizontalAlignment === TextInput.AlignRight anchors.left: root.left anchors.leftMargin: Kirigami.Units.smallSpacing * 2 anchors.verticalCenter: root.verticalCenter -- 2.39.5